//
//  SISSAbnormalAlertView.h
//  HomeTest
//
//  Created by 优房网 on 2017/4/12.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SISSHouseResourceModel.h"
#import "SISSPassengerResourceModel.h"

@class SISSAbnormalAlertView;
@protocol SISSAbnormalAlertViewDelegate <NSObject>

- (void)abnormalAlertView:(SISSAbnormalAlertView *)alertView clickedConfirmButton:(NSInteger)index;

@end

@interface SISSAbnormalAlertView : UIView

/** 代理 */
@property (weak, nonatomic) id<SISSAbnormalAlertViewDelegate> delegate;

/** 主推荐房源模型数组 */
@property (copy, nonatomic) NSArray<SISSHouseResourceModel *> *houseArr;
/** 主推荐客源模型数组 */
@property (copy, nonatomic) NSArray<SISSPassengerResourceModel *> *passengerArr;

/**
 弹窗的构造方法
 
 @param title 弹窗标题
 @return 一个申报异常的弹窗
 */
- (instancetype)initWithTitle:(NSString *)title;

/** show出这个弹窗 */
- (void)show;

@end
